<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
	<f:view>
		<h:body>
			<ui:composition template="/template/template.xhtml">
				<ui:define name="conteudo">
					<rich:panel>
						<f:facet name="header">
							<h:outputText value="#{res.montadora_titulo_cadastro}" />
						</f:facet>
						<h:form>
							<rich:messages/>
							<h:panelGrid columns="2">
							<h:outputLabel  value="#{res.montadora_nome}" for="nome"/>
							<h:inputText 	value="#{manterFabricanteBean.montadora.noFabricante}" 
										 	label="#{res.montadora_nome}" 
										 	id="nome"
										 	maxlength="80" 
										 	styleClass="upper"
										 	required="true"/>
										 	
							<h:commandButton action="#{manterFabricanteBean.save}" value="#{res.gravar}" />
							</h:panelGrid>
						</h:form>
					</rich:panel>
				</ui:define>
			</ui:composition>
		</h:body>
	</f:view>
</ui:composition>